import { createRouter, createWebHashHistory } from "vue-router";
const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: "/",
      name: "首页",
      redirect: "/home",
    },

    {
      path: "/home",
      name: "home",
      // component: () => import("../components/HomeWork.vue"),
      // component: () => import("../components/MapContainer.vue"),
      component: () => import("../components/AndtHomeWork.vue"),
      // component: () => import("../components/TestTree.vue"),
      children: [],
    },
  ],
});
export default router;
